package com.ruoyi.jl_base.service;

import com.ruoyi.jl_base.domain.JlBaseBaWbs;
import com.ruoyi.jl_base.domain.vo.JlBaseBaWbsVo;
import com.ruoyi.jl_base.domain.bo.JlBaseBaWbsBo;
import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.common.core.domain.PageQuery;

import java.util.Collection;
import java.util.List;

/**
 * wbs清单Service接口
 *
 * @author zyb
 * @date 2024-12-23
 */
public interface IJlBaseBaWbsService {

    /**
     * 查询wbs清单
     */
    JlBaseBaWbsVo queryById(Long wbsId);

    /**
     * 查询wbs清单列表
     */
    TableDataInfo<JlBaseBaWbsVo> queryPageList(JlBaseBaWbsBo bo, PageQuery pageQuery);

    /**
     * 查询wbs清单列表
     */
    List<JlBaseBaWbsVo> queryList(JlBaseBaWbsBo bo);

    /**
     * 新增wbs清单
     */
    Boolean insertByBo(JlBaseBaWbsBo bo);

    /**
     * 修改wbs清单
     */
    Boolean updateByBo(JlBaseBaWbsBo bo);

    /**
     * 校验并批量删除wbs清单信息
     */
    Boolean deleteWithValidByIds(Collection<Long> ids, Boolean isValid);
}
